package com.chendx.store.user.feign;

import com.chendx.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by chendx on 2022/4/27.
 */
@FeignClient("store-goods")
public interface GoodsFeign {


    @GetMapping("/api/pref/one/{id}")
    public ResponseResult one(@PathVariable("id") String id);
}
